.flexCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}
.v-margin-wrapper {
    width: 100%;
    .read-only-wrapper {
        position: relative;
        width: 100%;
        height: 100px;
        border: 1px dashed #666e75;
        padding: 24px;
        box-sizing: border-box;
        .inside-wrapper {
            width: 100%;
            height: 100%;
            border: 1px solid #666e75;
            background: linear-gradient(
                to top right,
                rgba(109, 110, 110, 0.1) 0%,
                rgba(109, 110, 110, 0.1) calc(50% - 1px),
                rgba(109, 110, 110, 0.8) 50%,
                rgba(109, 110, 110, 0.1) calc(50% + 1px),
                rgba(109, 110, 110, 0.1) 100%
             ), 
            linear-gradient(
                to bottom right,
                rgba(109, 110, 110, 0.1) 0%,
                rgba(109, 110, 110, 0.1) calc(50% - 1px),
                rgba(109, 110, 110, 0.8) 50%,
                rgba(109, 110, 110, 0.1) calc(50% + 1px),
                rgba(109, 110, 110, 0.1) 100%
             );
        }
        .margin-item {
            position: absolute;
            > span {
                display: inline-block;
                width: 100%;
                height: 100%;
                cursor: pointer;
                .flexCenter;
            }
            &.margin-item-top {
                top: 0;
                width: calc(100% - 48px);
                height: 24px;
            }
            &.margin-item-right {
                right: 0;
                top: 0;
                height: 100%;
                width: 24px;
            }
            &.margin-item-bottom {
                bottom: 0;
                width: calc(100% - 48px);
                height: 24px;
            }
            &.margin-item-left {
                left: 0;
                top: 0;
                height: 100%;
                width: 24px;
            }
            &.margin-item-right, &.margin-item-left {
                .margin-edit {
                    left: 24px;
                    width: 100px;
                    min-width: 100px;
                    transform-origin: 0 0;
                    transform: rotate(90deg);
                }
            }
            .margin-edit {
                display: inline-block;
                height: 24px;
                width: 100%;
                .ant-input-number-input {
                    text-align: center;
                }
            }
        }
    }
}